package com.vhall.component.service.pendant.event;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.vhall.component.entity.pendant.PendantStatsEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.context.ApplicationEvent;

/**
 * 挂件上报监听事件
 *
 * @author shimingming
 * @since 2023/8/11 11:11
 */
@Getter
@Setter
@ToString
public class PendantClickReportEvent extends ApplicationEvent {


    private LambdaUpdateWrapper<PendantStatsEntity> updateWrapper;

    public PendantClickReportEvent(Object source) {
        super(source);
    }

    public PendantClickReportEvent(Object source, LambdaUpdateWrapper<PendantStatsEntity> updateWrapper) {
        super(source);
        this.updateWrapper = updateWrapper;
    }

}
